package com.itheima.job2;

import java.util.HashMap;
import java.util.Map;

public class Test {
    public static void main(String[] args) {
        Map<String,Map<String,String>> classType = new HashMap<>();//班级类别
        Map<String,String> students1 = new HashMap<>();//学生
        students1.put("001","李晨");
        students1.put("002","范冰冰");
        Map<String,String> students2 = new HashMap<>();//学生
        students2.put("001","马云");
        students2.put("002","马化腾");
        classType.put("Java基础班",students1);
        classType.put("Java就业班",students2);
        classType.forEach((key,value)-> System.out.println(key+" "+value));
    }
}
